package com.mobile.challenge.api;

import com.mobile.challenge.bean.BaseBean;
import com.mobile.challenge.bean.TrackingBean;
import com.mobile.challenge.bean.UserBean;

import io.reactivex.Observable;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * @Author Touge
 * @Date 2020/11/3 17:00
 * @Description
 */
public interface ResetPasswordService {

    @POST("user/reset")
    Observable<BaseBean<UserBean>> reset(
            @Query("name") String name,
            @Query("old") String old,
            @Query("newPwd") String newPwd
    );

}
